package com.jaws.core.mvc.view;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.servlet.view.AbstractView;

/**
 * 视图父类
 * @author maojian
 * @date 2018-07-05 10:59:30
 * @since v1.0.0
 */
public abstract class JawsAbstractView extends AbstractView{
	
	public abstract String getView();
	
	protected boolean isIE(HttpServletRequest request) {
        return (request.getHeader("USER-AGENT").toLowerCase().indexOf("msie") > 0 || request
            .getHeader("USER-AGENT").toLowerCase().indexOf("rv:11.0") > 0) ? true : false;
    }
	
}
